package homework0707;

import jk.ToolService;

import java.text.DecimalFormat;

public class DoubleObj implements ToolService {

    @Override
    public String timeUtil(DateElement dateelement) {
        return null;
    }

    @Override
    public String transformUtil(StringElement stringElement) {
        return null;
    }

    @Override
    public String transformUtil1(double number) {
        return  DecimalFormat.getNumberInstance().format(number);
    }
}
